import axios from "@/utils/request.js";

export default {
  // Get 的参数需要加 {}
  login(params, headers = {}) {
    return axios.get("/topics", {
      params,
      headers,
    });
  },
};
